package cadastro.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;



public class conexao {

	public static Connection getConnection() {
		try {
			Class.forName("com.mysql.jdbc.Driver");
			return DriverManager.getConnection("jdbc:mysql://localhost/prova","root", "");
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}}